package com.sjgtw.cloud.web.organization.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 应急组织管理详情对象 t_eg_organization_details
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
public class OrganizationDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 组织id */
    @Excel(name = "组织id")
    @ApiModelProperty("组织id")
    private Long organizationId;

    /** 办公室名称 */
    @Excel(name = "办公室名称")
    @ApiModelProperty("办公室名称")
    private String officeName;

    /** 职务 */
    @Excel(name = "职务")
    @ApiModelProperty("职务")
    private String position;

    /** 人员id */
    @Excel(name = "人员id")
    @ApiModelProperty("人员id")
    private String userId;

    /** 分组编号 */
    @Excel(name = "分组编号")
    @ApiModelProperty("分组编号")
    private Integer groupNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOfficeName(String officeName) 
    {
        this.officeName = officeName;
    }

    public String getOfficeName() 
    {
        return officeName;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public Integer getGroupNumber() {
        return groupNumber;
    }

    public void setGroupNumber(Integer groupNumber) {
        this.groupNumber = groupNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("organizationId", getOrganizationId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("officeName", getOfficeName())
            .append("position", getPosition())
            .append("userId", getUserId())
            .append("groupNumber", getGroupNumber())
            .toString();
    }
}
